<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	come here
	<table width="600" height="200" border="1">
  <tr>
    <td>用户ID</td>
    <td>姓名</td>
    <td>地址</td>
    <td>电话</td>
    <td>性别</td>
    <td>金额</td>
  </tr>
	<c:set var="listuser" value="${not empty sessionScope.listuser }" />
	<c:if test="${listuser }" >
		<c:forEach items="${sessionScope.listuser}" var="u">
			<tr>
    				<td>${u.uid }</td>
    				<td>${u.uname }</td>
   				 	<td>${u.uaddress }</td>
   				 	<td>${u.uPhone }</td>
   				 	<td>${u.usex }</td>
   				 	<td>${u.umoney }</td>
  			</tr>
		</c:forEach>
	</c:if> 
	</table>
	<a href="GetUsersByPage?id=1">首页</a>
	<c:set var="num" value="${not empty sessionScope.page_num }" />
	<c:if test="${num }" >
		<c:forEach var="x" begin="1" end="${sessionScope.page_num }" step="1">
			<a href="GetUsersByPage?id=${x }">第${x }页</a>
		</c:forEach>
	</c:if> 
	<a href="GetUsersByPage?id=${sessionScope.page_num }">尾页</a>
</body>
</html>